﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExtenDev.Web.Management
{
    public static class ResourceCacheManager
    {
        private static ConcurrentDictionary<string, IEnumerable<Resource>> resourceHashes = new ConcurrentDictionary<string, IEnumerable<Resource>>();

        public static string GetResourcesFromHash(string resourceHash)
        {
            return string.Empty;
        }

        public static string GetResourceHash(IEnumerable<Resource> resources)
        {
            if (resources == null) throw new ArgumentNullException("resources");

            StringBuilder keyCombo = new StringBuilder();

            foreach (Resource res in resources)
            {
                //keyCombo.AppendLine(res.)
            }

            return null;
        }
    }
}
